package com.urerp.web.persistence;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface ProductMapper {
	
    // 상품 등록
    public int setProduct(HashMap<String, String> productMap);
    
    // 상품 수정
    public int updateProduct(HashMap<String, String> productMap);
    
    // 상품 리스트 총 카운트 
	public int getProductListCount(HashMap<String, Object> tableMap);
	
	// 상품 리스트
	public ArrayList<LinkedHashMap<String, String>> getProductList(HashMap<String, Object> tableMap);
	
	// 상품 정보
	public HashMap<String, String> getProduct(String prd_id);
    

}

